﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfAccountsCentre.aspx.cs" Inherits="msBsc.WebUi.wMall.Buyer.wfAccountsCentre" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/themes/wStyle1/css/sLayout.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/sHead.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/sFoot.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/Seller/sDjackInfo.css" rel="stylesheet" />
    <link href="/themes/wStyle1/css/Buyer/sTouristInfo.css" rel="stylesheet" />

    <link href="/themes/wStyle1/css/usermenu.css" rel="stylesheet" />
    <title>账户中心</title>
    <style>
        input[type=button] {
            width: 80px;
            height: 28px;
            text-align: center;
            line-height: 28px;
            border: 0;
            background-color: #7abd54;
            color: #fff;
            font-size: 14px;
            font-family: 微软雅黑;
            cursor: pointer;
        }

            input[type=button]:hover {
                opacity: 0.8;
            }

        .bind-notice-msg {
            width: 770px;
            padding: 10px 15px;
            border: 1px solid #f60;
            font-family: 微软雅黑;
            font-size: 16px;
            color: #0094ff;
            margin-bottom: 20px;
            text-indent: 32px;
        }

        .content-wrap {
            width: 100%;
            padding: 20px;
        }

            .content-wrap span {
                display: table-cell;
                padding-right: 15px;
            }

        .content-row {
            line-height: 45px;
        }

        .bindBank-title, .bindAlipay-title {
            width: 780px;
            height: 35px;
            line-height: 35px;
            font-family: 微软雅黑;
            font-size: 18px;
            color: #fff;
            background-color: #0094ff;
            padding-left: 20px;
        }

        .bindBank-content, .bindAlipay-content {
            width: 798px;
            border: 1px solid #808080;
        }

        .bindAlipayInfo {
            margin-top: 15px;
        }

        .notice-title {
            width: 120px;
            text-align: right;
            font-family: 微软雅黑;
            font-size: 14px;
            color: #808080;
            letter-spacing: 3px;
        }

        .lab-CCY {
            font-size: 20px;
            font-family: 微软雅黑;
            color: #f00 !important;
        }

        #labDrawals, #labPromBalance {
            font-size: 18px;
            font-family: 微软雅黑;
            color: #f60;
        }

        .needs-ccy, #labNeeds {
            font-size: 16px;
            color: #0094ff;
        }
    </style>
</head>
<body>
    <div class="wf_all">
        <div id="divLoginInfo">
            <%=msBsc.WebUi.Code.QtHtmlGet.GetHeaderLoginInfo() %>
        </div>
        <div class="main-container">
            <div class="sidebar-scroll noborder">
                <%=msBsc.WebUi.Code.QtHtmlGet.GetTouristMenuHtml() %>
            </div>
            <div class="main-Info">
                <div class="tnavigation">
                    <a href="#" class="nav">账户中心</a>&gt;
			
                        <a href="#" class="nav-on">我的账户</a>
                </div>
                <hr />
                <div class="content-wrap">
                    <div class="bind-notice-msg">
                        提现账户是您在本平台，进行服务所得收益总和。您可根据本人的经营状况及账户余额，提出申请，将此账户中的余额，转入您在本平台绑定的银行账户或支付宝账户。
                    </div>

                    <div class="bindBankInfo">
                        <div class="bindBank-title">提现账户</div>
                        <div class="bindBank-content">
                            <div class="content-row">
                                <span class="notice-title">账户余额:</span>
                                <span class="cust-input">
                                    <label class="lab-CCY">￥</label><label id="labDrawals"></label>
                                </span>
                            </div>
                            <div class="content-row">
                                <span class="notice-title">最后提现时间:</span>
                                <span class="cust-input">
                                    <label id="labLastDrawDt"></label>
                                </span>
                            </div>
                            <div class="content-row">
                                <span class="notice-title"></span>
                                <span class="cust-input">
                                    <input type="button" id="btnDrawals" value="申请提现" style="margin-left: 500px;" />
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--start JS引用-->
        <script src="/jqPlugin/js/jquery-1.8.3.min.js"></script>
        <script src="/jqPlugin/js/jBase.js"></script>
        <script src="/jqPlugin/js/jBPage.js"></script>
        <script src="/jqPlugin/js/laytpl.js"></script>

        <script src="/jqPlugin/SelectSimu/js/SelectSimu.js"></script>
        <script src="/themes/wStyle1/js/comm/jsLayout.js"></script>
        <!--end JS引用-->

        <script type="text/javascript">
            function ShowUserAccount(totalBalance, lastDrawalsDt) {
                $("#labDrawals").text(totalBalance);
                $("#labLastDrawDt").text(lastDrawalsDt);
            }

            $(function () {
                $("#btnDrawals").click(function () {
                    ApplyDrawals();
                })
            })

            function ApplyDrawals() {
                $("#btnDrawals").attr("disabled", "disabled").val("正在处理...");
                var oparm = new jsonRow();
                oparm.AddCell("ACTION", "ApplyDrawals");
                ajaxComm(oparm, null, function () {
                    $("#btnDrawals").val("申请提现").removeAttr("disabled", "disabled");
                });
            }
        </script>

        <%=msBsc.WebUi.Code.QtHtmlGet.GetFloorHtml() %>
    </div>
</body>
</html>
